/**
 * 
 */
package com.res.simulator.handler;

import java.util.LinkedList;
import java.util.List;

import com.res.common.handler.CommonHandler;
import com.res.simulator.model.HelpPageModel;
import com.res.simulator.view.HelpPageView;

/**
 * @author Dhanushka Ariyasingha.
 *
 */
public class HelpPageHandler implements CommonHandler<HelpPageView, HelpPageModel> {

	private List<HelpPageView> helpPageViewList = new LinkedList<HelpPageView>();
	
	public HelpPageView process(final HelpPageModel model) throws Exception {
		// TODO Auto-generated method stub


		return null;

	}
	
	public List<HelpPageView> getPageViewList(){
		
		helpPageViewList.add(new HelpPageView("User terminate","User id is mandatory for terminate.","COMMAND:TERMINATE"));
		helpPageViewList.add(new HelpPageView("User suspend","User id is mandatory for suspend.","COMMAND:SUSPEND"));
		helpPageViewList.add(new HelpPageView("User Block","User id is mandatory for block.","COMMAND:BLOCK"));
		helpPageViewList.add(new HelpPageView("User Access Complete","User id is mandatory for access complete to new user.","COMMAND:COMPLETE_ACCESS"));
		helpPageViewList.add(new HelpPageView("User Inactivate","User id is mandatory for Inactive users.","COMMAND:INACTIVATE"));
		helpPageViewList.add(new HelpPageView("Recycle User","User id is mandatory for Recycle user.","COMMAND:RECYCLEDUSER"));
		helpPageViewList.add(new HelpPageView("User Id Token","Token for user id.","USER_ID:"));
		helpPageViewList.add(new HelpPageView("Push to target","Command push target catalogs. <Br/> Offer external id is Mandatory. Ex:<VALUE:VX752>","COMMAND:PUSH_CATALOG"));
		helpPageViewList.add(new HelpPageView("Run Daemon","Daemon execution. <Br/> Daemon sequance with command.<Br/> Ex : <VALUE:Charge>","COMMAND:RUN_DEAMON"));
		helpPageViewList.add(new HelpPageView("Charge Daemon Values","Values need to be placed with comma seperators. <Br/> Ex : VALUE:Charge,ChargeCreation" +
				"<Br/> Charge,ChargeCreation,ShippingNotification,InstallmentChargeCreation,<Br/> ChargeProcessing,UserBundleStatusUpdate",""));
		helpPageViewList.add(new HelpPageView("Change Time","Value item is mandatory and value will be placed with pipe seperated pattern <Br/>Ex: COMMAND:CHANGE_TIME|VALUE:DAY-4 or VALUE:MONTH-5 or VALUE:YEAR-1","COMMAND:CHANGE_TIME"));

		//helpPageViewList.add(new HelpPageView("","",""));
		
		return helpPageViewList;
	}
}
